WpMatomo\TrackingCode\TrackingCodeGenerator A

Total Complexity 70
Dependencies 8
Dependents 4
Total lines 390
Lines of code 282
Logical lines of code 179
Comment lines 34
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
prepare_tracking_code()
B
32 20 99
update_tracking_code()
A
46 11 37
prepare_tagmanger_code()
A
47 9 35
apply_user_tracking()
A
52 8 23
get_tracking_code()
S
60 5 14
get_js_endpoint()
S
57 4 16
get_tracking_cookie_domain()
S
64 4 10
get_tracker_endpoint()
S
60 3 14
__construct()
S
73 1 5
get_disable_cookies_partial()
S
76 1 5
register_hooks()
S
73 1 4
get_noscript_code()
S
77 1 4
apply_404_changes()
S
67 1 7
apply_search_changes()
S
63 1 9